import { useState } from 'react'
// import { Button } from 'antd';
// import { UpCircleOutlined } from "@ant-design/icons";
import { useRoutes, Link } from "react-router-dom";
import router from "./router"
function App() {
  const [count, setCount] = useState(0)
  const outlet = useRoutes(router)
  return (
    <div className="App">
      {/* 占位符组件,类似于窗口 用来展示组组件的 有点像Vue 中的 router-view */}
      {/* <Outlet></Outlet> */}
      {outlet}
    </div>
  )
}

export default App
